﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WordReplace_save.aspx.cs"
    Inherits="TRPOP.CMS.Web.Admin.WordReplace_save" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>PSN管理-<%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server" onsubmit="return CheckForm(this);">
    <table id="page_navigator">
        <tr>
            <td class="align_l">
                当前位置：系统管理 -> 关键字替换 -> 编辑
            </td>
        </tr>
    </table>
    <table class="table_form">
        <tbody>
            <tr class="tr_item">
                <th>
                    名称
                </th>
                <td>
                    <cms:TextBox ID="txtName" runat="server" required="1" prompt="名称" valuelength="20"
                        ControlValueType="String"></cms:TextBox>
                    <span class="FontWarn">*</span> <span class="sp_tiptitle">不能超过20个汉字或字符！</span>
                </td>
            </tr>
            <tr class="tr_item hide" style="display: none">
                <th>
                    替换类型
                </th>
                <td>
                    <cms:RadioButtonList ID="rbtType" CssClass="rbt" runat="server" DataTextField="Value"
                        DataValueField="Key" RepeatDirection="Horizontal">
                    </cms:RadioButtonList>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    待替换文字
                </th>
                <td>
                    <cms:TextBox ID="txtOldValue" Height="100px" TextMode="MultiLine" runat="server"
                        required="1" prompt="待替换文字" valuelength="500" ControlValueType="String"> </cms:TextBox>
                    <span class="FontWarn">*</span> <span class="sp_tiptitle">不能超过500个汉字或字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    替换后的值
                </th>
                <td>
                    <cms:TextBox ID="txtNewValue" Height="100px" TextMode="MultiLine" runat="server"
                        required="1" prompt="替换后的值" valuelength="500" ControlValueType="String"></cms:TextBox>
                    <span class="FontWarn">*</span> <span class="sp_tiptitle">不能超过500个汉字或字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    结点范围
                </th>
                <td>
                    <cms:TextBox CssClass="hide" Style="display: none" ID="txtNodeids" runat="server"
                        prompt="分组中的结点"></cms:TextBox>
                    <a href="javascript:show_dialog('../SelNodeTree.aspx?setid=txtNodeids',450,310,'选择结点');">
                        选择结点</a>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                </th>
                <td>
                    <cms:Button CssClass="button_style" ID="btnSubmit" Text="确定" runat="server" OnClick="btnSubmit_Click" />
                    <input class="button_style" name="reset" onclick="window.location.href='WordReplace_list.aspx'"
                        value="返回" type="reset">
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
